Instead, construct the BigDecimal using BigDecimal(" 0.01") or BigDecimal ( 1,2) to avoid this problem, since either of these will result in an exact decimal representation. 相反,使用BigDecimal(“0.01”)或BigDecimal(1,2)构造BigDecimal来避免这类问题,因为这两种方法都可以精确地表示小数。
The process of changing from one form of representation to another; for example, to change from decimal representation to binary representation. 从一种表示形式改变为另一种表示形式的过程。例如,从十进制表示改变为二进制表示。
The Design and Implementation of Conversion Between Decimal Representation and N-scale Notation 十进制与任意进制转换的设计与实现